home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / ViewKit_dev.idb / usr / include / Vk / VkGang.h.z / VkGang.h
Encoding:
C/C++ Source or Header  |  1996-09-20  |  2.1 KB  |  64 lines

  1. ////////////////////////////////////////////////////////////////////////////////
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. ////////////////////////////////////////////////////////////////////////////////
  17. //////////////////////////////////////////////////////////////
  18. //
  19. // Header file for VkGang
  20. //
  21. //////////////////////////////////////////////////////////////
  22. #ifndef _VKGANG_H
  23. #define _VKGANG_H
  24. #include <Vk/VkComponent.h>
  25.  
  26. class VkGangedGroup;
  27.  
  28. class VkGang : public VkComponent
  29.  
  30.   public:
  31.  
  32.     VkGang(const char *, Widget);
  33.     ~VkGang();
  34.     const char* className();
  35.  
  36.   private: 
  37.  
  38.     // Array that describes interactions with Xt resource manager
  39.  
  40.     static String      _defaultVkGangResources[];
  41.  
  42.     static void gangCallback(Widget, XtPointer, XtPointer);
  43.  
  44.   VkGangedGroup *_group;
  45.  
  46.   protected: 
  47.  
  48.     virtual void gang(Widget, XtPointer);
  49.  
  50.     // Widgets created by this class
  51.  
  52.     Widget  _gangToggle;
  53.     Widget  _grid;
  54.     Widget  _dash;
  55.     Widget  _leftLabel;
  56.     Widget  _rightLabel;
  57.     Widget  _leftScale;
  58.     Widget  _rightScale;
  59.     Widget  _springBox;
  60. };
  61. #endif
  62.  
  63.